package com.cskaoyan.service;

import com.cskaoyan.bean.aftersale.AfterSaleDetailVo;
import com.cskaoyan.bean.aftersale.AfterSaleWxVo;
import com.cskaoyan.bean.baseresultVO.BaseData;
import com.cskaoyan.bean.baseresultVO.BaseParam;
import com.cskaoyan.bean.domain.AfterSale;
import com.cskaoyan.bean.domain.Order;
import com.cskaoyan.bean.domain.User;

import java.util.List;

public interface AfterSaleService {

    BaseData getList(BaseParam param, Short status, String aftersaleSn, Integer orderId);

    void batchRecept(List<Integer> ids);

    void batchReject(List<Integer> ids);

    void refund(AfterSale afterSale);

    Integer getSubmit(AfterSale afterSale, Order order);

    AfterSaleWxVo getListForWx(AfterSale afterSale, User user, BaseParam baseParam);

    AfterSaleDetailVo getDetailAftersaleForWx(Order order);

    void recept(AfterSale afterSale);

    void reject(AfterSale afterSale);

}
